<script type="text/javascript" src="<?php echo $this->baseUrl . '/public/' . $this->module; ?>/js/fotorama.js"></script>
<link href="<?php echo $this->baseUrl . '/public/' . $this->module; ?>/css/fotorama.css" rel="stylesheet" type="text/css" media="screen" />
<?php include APPLICATION_PATH . '/modules/default/layouts/scripts/content-outer-start.phtml'; ?>
<div class="box-form" style="width: 18%; height:500px; float: left; margin-right: 20px;">
    Other features
</div>

<div>
    <!--  start related-activities -->
    <div id="featured-content" style="width: auto; border-bottom: 1px dotted gray; margin-bottom: 30px; position: relative;">
        <div id="column1" style="width:100%; float:left;">
            <div class="hd_name"><h1><?php echo $this->hospital['name'] ?></h1></div>
            <div><h4><i style="font-weight: normal; font-size:13px;"><?php echo $this->hospital['address'] ?></i></h4></div>
        </div>
        <div class="hd_hot_cm">
            <div class="hd_hot_rate">
                <a href="#">
                    <?php
                    if ($this->overall <= 2)
                        echo 'Rat Kem, ';
                    else if ($this->overall > 2 && $this->overall <= 4)
                        echo 'Trung Binh, ';
                    else if ($this->overall > 4 && $this->overall <= 6)
                        echo 'Kha tot, ';
                    else if ($this->overall > 6 && $this->overall <= 8)
                        echo 'Rat tot, ';
                    else if ($this->overall > 8)
                        echo 'Tuyet hao, ';
                    echo number_format($this->overall, 1, '.', '');
                    ?>
                </a>
                <p>Điểm từ <b><?php echo $this->total_review ?></b> đánh giá</p>
            </div>
            <div class="hd_hot_des">
                <p id="content">“<?php echo $this->comment ?>”</p>
                <p id="user"><span><?php echo $this->displayname ?></span>, VN</p>
            </div>
        </div>
        <?php
        if ($this->profileNameSpace) {
            include APPLICATION_PATH . '/modules/default/views/scripts/rating.phtml';;
        }
        ?>
        <!-- slider photo -->
        <div class="fotorama" data-width="900" data-height="506">
            <?php
                $images = explode(",", $this->hospital['images']);
                foreach ($images as $i) {
                    echo '<a href="' . $i . '"><img src="'  . $i . '"></a>';
                }
            ?>
        </div>

        <!-- end slider photo -->

        <div id="summary">
            <?php echo $this->hospital['description'] ?>
        </div>
    </div>
    <!-- end related-activities -->

</div>
<div class="clear"></div>
<?php include APPLICATION_PATH . '/modules/default/layouts/scripts/content-outer-end.phtml'; ?>

